const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  // 用户名
  userInfo: state => state.user.userInfo,
  // 用户code
  userCode: state => state.user.userCode,
  checkroutes: state => state.user.checkroutes,
  mainroutes: state => state.user.mainroutes,
  baseroutes: state => state.user.baseroutes,
  sideroutes: state => state.user.sideroutes,
  loadRoutes: state => state.user.loadRoutes,
  roleBtns: state => state.user.roleBtns
}
export default getters

